#pragma once

#include "../ECS/Registry.h"
#include "../ECS/Entity.h"
#include "sol/sol.hpp"

namespace SCION_CORE::Systems
{
  class ScriptSystem
  {
  private:
    SCION_CORE::ECS::Registry &m_Registry;
    bool m_bMainLoaded;
  public:
    ScriptSystem(SCION_CORE::ECS::Registry &registry);
    ~ScriptSystem() = default;

    bool LoadMainCript(sol::state &lua);
    void Update();
    void Render();
  };
}
